package com.server;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Created by chenjie on 2017/5/10.
 */
@EnableDiscoveryClient
@SpringBootApplication
public class EurekaServiceApplication {

    public static void main(String[] args) {

        new SpringApplicationBuilder(EurekaServiceApplication.class).web(true).run(args);
    }
}
